package T;

public class y2 {
    public static void main(String[] args) {
        int count = 0;
        for (int a = 0; a <= 1; a++) {
            for (int b = 0; b <= 7; b++) {
                for (int c = 0; c <= 3; c++) {
                    for (int d = 0; d <= 1; d++) {
                        if ((1 * a + 2 * b + 5 * c + 10 * d ) == 15) {
                            count++;
                        }
                    }
                }
            }
        }
        System.out.println(count);
    }
}
